<form action="{'Client/insert'|U}" method="POST" onsubmit="return false">
<input type="hidden" name="comp_type" value="1">
<div class="table_autoshow" style="border-style:none!important;">
<table cellspacing="0" cellpadding="0" width="100%">
	<tbody>
		<tr>
			<th colspan="2">{$lang.client_basic}</th>
		</tr>
		{if 'multi_client'|C==1}
		<tr>
			<td>{$lang.client_type}：</td>
			<td class="t_left">{html_radios options=C('CLIENT_TYPE') name="detail_type" checked=1 id="client_type" }__*__</td>
		</tr>
		{/if}
		<tr>
      		<td class="width20">{$lang.client_no}：</td>
      		<td class="t_left"><input type="text" name="comp_no" value="{$max_no}" {$is_auto_no}>__*__</td>
    	</tr>
    	<tr>
      		<td>{$lang.client_name}：</td>
      		<td class="t_left"><input type="text" name="comp_name" class="spc_input" >__*__</td>
    	</tr>
    	<tr>
    		<th colspan="2">{$lang.add_moe}[<a href="javascript:;" onclick="$.quicklyMore(this)">{$lang.add_open}</a>]</th>
    	</tr>
    	</tbody></table>
    	
    	<table cellspacing="0" cellpadding="0" class="table_autoshow_hidden" align="center">
    	<tr>
      		<td class="width20">{$lang.tax_no}：</td>
    		<td class="t_left"><input type="text" name="tax_no" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.iva}：</td>
    		<td class="t_left"><input type="text" name="iva" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.client_country}：</td>
    		<td class="t_left">
    			<input type="hidden" name="country_id" id="country_id" class="spc_input" onchange="getCity(this,'dialog-quickly_add')">
      			<input id="country_name" name="country_name" url="{'AutoComplete/country'|U}" jqac itemto="dialog-quickly_add">
      		</td>
    	</tr>
    	<tr>
    		<td>{$lang.client_city}：</td>
    		<td class="t_left">
    			<span id="city">{$lang.select_country}</span>
    		</td>
    	</tr>
    	<tr>
    		<td>{$lang.remind_day}：</td>
    		<td class="t_left"><input type="text" name="remind_day" value="" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.remind_money}：</td>
    		<td class="t_left"><input type="text" name="remind_money" value="" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<th colspan="2">{$lang.client_cantent}</th>
    	</tr>
    	<tr>
    		<td>{$lang.contact}：</td>
    		<td class="t_left"><input type="text" name="contact" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.mobile}：</td>
    		<td class="t_left"><input type="text" name="mobile" class="spc_input" >
    	</tr>
    	<tr>
    		<td>{$lang.phone}：</td>
    		<td class="t_left"><input type="text" name="phone" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.zip_code}：</td>
    		<td class="t_left"><input type="text" name="post_code" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.fax_no}：</td>
    		<td class="t_left"><input type="text" name="fax" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td>{$lang.email}：</td>
    		<td class="t_left"><input type="text" name="email" class="spc_input" ></td>
    	</tr>
    	<tr>
    		<td valign="top">{$lang.address}：</td>
    		<td class="t_left"><textarea name="address" ></textarea></td>
    	</tr>
    	<tr>
    		<td valign="top">{$lang.comments}：</td>
    		<td class="t_left"><textarea name="comments"></textarea></td>
    	</tr>
    </tbody>
</table>
</div>
</form>
